package com.stars.empoly.fragment

import android.view.LayoutInflater
import android.view.ViewGroup
import com.stars.empoly.adapter.HomeFristAdapter
import com.stars.empoly.base.MBRFragment
import com.stars.empoly.databinding.FragmentHomeFirstBinding
import com.stars.empoly.vmodel.HomeFirstVModel

/**
 *on 2022/9/22
 */
class HomeFragment : MBRFragment<HomeFirstVModel, HomeFristAdapter, FragmentHomeFirstBinding>(){

    override fun vmClass(): Class<HomeFirstVModel> {
        return HomeFirstVModel::class.java
    }

    override fun binding(
        inflater: LayoutInflater,
        container: ViewGroup?
    ): FragmentHomeFirstBinding {
       return FragmentHomeFirstBinding.inflate(layoutInflater)
    }

    override fun initAdapter(): HomeFristAdapter {
      return HomeFristAdapter(vm)
    }

    override fun title(): String? {
        return null
    }
}
